systemd.user.services.<name>.preStop

Shell commands executed to stop the service.

Type
strings concatenated with "\n"
Default
""
Declared
<nixpkgs/nixos/modules/system/boot/systemd/user.nix>